import request from '@/utils/request'

// 配置列表
export function listPageDecoration(query) {
  return request({
    url: '/system/page-decoration/list',
    method: 'get',
    params: query
  })
}

// 删除配置
export function delPageDecoration(data) {
  return request({
    url: '/system/page-decoration/delete',
    method: 'post',
	data:data
  })
}

// 新增配置
export function insertPageDecoration(data) {
  return request({
    url: '/system/page-decoration/insert',
    method: 'post',
	data:data
  }) 
}

// 编辑配置
export function editPageDecoration(data) {
  return request({
    url: '/system/page-decoration/edit',
    method: 'post',
	data:data
  }) 
}

// 所有配置
export function allListPageDecoration() {
  return request({
    url: '/system/page-decoration/allList',
    method: 'get'
  }) 
}

// 配置详情
export function detailPageDecoration(data) {
  return request({
    url: '/system/page-decoration/detail',
    method: 'post',
	data:data
  }) 
}